<?php
use oxide\plugin\PluginAbstract;
use oxide\http\Context;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

class MarkItUpPlugin extends PluginAbstract
{
	
	public function onInit(Context $context) 
	{
		$this->register('AdminContentPostForm');
	}
	
	public function onAdminContentPostForm($event, $sender, $args = null)
	{
		oxide\util\Loader::loadHelper('_html');

		_html::link('/plugin/markitup/markitup/skins/markitup/style.css');
		_html::link('/plugin/markitup/markitup/sets/html/style.css');
		
		_html::script('/plugin/markitup/markitup/jquery.markitup.js');
		_html::script('/plugin/markitup/markitup/sets/html/set.js');
		_html::script('/plugin/markitup/load.js');
	}
}

?>
